import Vue from 'vue'
import App from './App'
import store from './store'
import Cache from './utils/cache'
import util from 'utils/util'
import configs from './config/app.js'
import FloatingBackHome from '@/components/school/floatingBackHome';
import FloatingBtn from '@/components/school/floatingBtn';
//注册组建
import Tabar from '@/components/school/tabbar';
import StatusNav from '@/components/school/statusNav';
import SchoolGroup from '@/components/school/group/index.vue';
import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue';
import Empty from '@/components/empty/index.vue';

Vue.component('Empty', Empty);
Vue.component('TkiQrcode', tkiQrcode);
Vue.component('SchoolGroup', SchoolGroup);
Vue.component('StatusNav', StatusNav);
Vue.component('Tabar', Tabar);
Vue.component('FloatingBackHome', FloatingBackHome);
Vue.component('FloatingBtn', FloatingBtn);

Vue.prototype.$util = util;
Vue.prototype.$config = configs;
Vue.prototype.$Cache = Cache;
Vue.prototype.$eventHub = new Vue();
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App,
  store,
  Cache
})
app.$mount();
